package org.test.web.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 功能描述
 *
 * @author: weiken
 * @date: 2023年10月26日 8:49
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class GetUserHealthDataResponse {
    @JsonProperty("code")
    public String code;
    @JsonProperty("data")
    public GetUserHealthData data;
    @JsonProperty("message")
    public String message;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class GetUserHealthData implements Serializable {
        @JsonProperty("birthday")
        public String birthday;
        @JsonProperty("height")
        public String height;
        @JsonProperty("sex")
        public String sex;
        @JsonProperty("weight")
        public String weight;
    }
}
